<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>继承</title>
	</head>
	<body>
		<script type="text/javascript">
			class Father{
				
			}
			class Son extends Father{
				
			}
			var s = new Son();
			console.log(s);
		</script>
	</body>
</html>